<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title><% model(2); %></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="style.css" />
	<script type="text/javascript" src="jquery.min.js"></script>
	<script type="text/javascript" src="config.js"></script>
	<script type="text/javascript" src="general.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		load_body();
	});
</script>
</head>
<body>
<form method="get" name="form" id="form" action="apply.cgi">
<input type="hidden" name="current_page" value="lan.asp" />
<input type="hidden" name="next_page" value="dhcp.asp" />
<input type="hidden" name="next_host" value="" />
<input type="hidden" name="group_id" value="" />
<input type="hidden" name="modified" value="0" />
<input type="hidden" name="action_mode" value="" />
<input type="hidden" name="first_time" value="" />
<input type="hidden" name="action_script" value="" />

<input type="hidden" name="dhcp_start" value="<% nvram_get("dhcp_start"); %>" />
<input type="hidden" name="dhcp_end" value="<% nvram_get("dhcp_end"); %>" />
<input type="hidden" name="wan_ipaddr" value="<% nvram_get("wan_ipaddr"); %>" />

<table class="main">
<thead>
<tr>
<td>IP Config - LAN</td>
</tr>
</thead>

<tr><td>
<table class="sect">
<tr>
<td class="desc" colspan="2">Configure the LAN IP of the router.</td>
</tr>
</table>
</td></tr>

<tr><td>
<table class="sect">
<thead>
<tr>
<td colspan="2">LAN IP Setting</td>
</tr>
</thead>
<tr>
<th title="This field allows you to provide a LAN host name for the router.">Host Name:</th>
<td><input type="text" maxlength="32" class="content_input_fd" size="32" name="lan_hostname" value="<% nvram_get("lan_hostname"); %>" onkeypress="return is_string(event, this)" onblur="validate_string(this)" /></td>
</tr>
<tr>
<th title="This is IP Address of the router as seen in your local network. The default value is 192.168.1.1.">IP Address:</th>
<td><input type="text" maxlength="15" class="content_input_fd" size="15" name="lan_ipaddr" value="<% nvram_get("lan_ipaddr"); %>" onblur="return validate_ipaddr(this, 'lan_ipaddr')" onkeypress="return is_ipaddr(event, this)" onkeyup="change_ipaddr(this)" /></td>
</tr>
<tr>
<th title="This is Subnet Mask of the router as seen in your local network. The default value is 255.255.255.0.">Subnet Mask:</th>
<td><input type="text" maxlength="15" class="content_input_fd" size="15" name="lan_netmask" value="<% nvram_get("lan_netmask"); %>" onblur="return validate_ipaddr(this, 'lan_netmask')" onkeypress="return is_ipaddr(event, this)" onkeyup="change_ipaddr(this)" /></td>
</tr>
</table>
</td></tr>

</table>

<% include("footer_buttons.inc"); %>

</form>
</body>
</html>
